<?php
session_start();
require '../../../php/database_login.php';
$sql1 = "delete from `multipack_brief` where `pack_id`='{$_POST['arr']['pack_id']}'";
$sql2 = "delete from `multipack_detail` where `pack_id`='{$_POST['arr']['pack_id']}'";
if (mysqli_query($conn, $sql1) && mysqli_query($conn, $sql2)) {
    echo "success";
} else {
    echo 'fail';
}
